package com.hospital.hms.service;

import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

@Component
public interface UserService {
    /**
     * 登录方法
     * @return userid
     */
    Integer login(HashMap hashMap);
    Set<String> selectUserPrivileges(int userId);

     int updateUserPassword(Map map);

}
